package com.haoqizhe.kernel.log.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Primary;

/**
 * @author haoqizhe.li
 * @date 2018/11/2
 **/
@Data
@ConfigurationProperties(prefix = "aspect.operate.log")
@Primary
public class OperateLogProperties {

    /**
     * 需要过滤掉不记录日志的url
     */
    private String ignoreUrls;
    /**
     * 需要过滤的敏感字段
     */
    private String sensitiveFields;
    /**
     * 是否开启controller日志拦截，默认不开启，设置为enabled时开启
     */
    private String enabled;
}
